package com.dh.order.enums;

import lombok.Getter;

/**
 * 
 * @ClassName: ResultEnum
 * @Description: TODO
 * @author dinghao
 * @date 2018年11月14日 下午4:22:32
 *
 */
@Getter
public enum ResultEnum {
	PARAM_ERROR(1, "参数错误"), 
	CART_EMPTY(2, "购物车为空"), 
	ORDER_NOT_EXIST(3,"订单不存在"),
	ORDER_STATUS_ERROR(4,"订单状态错误"), 
	ORDER_DETAIL_NOT_EXIST(5,"订单详情不存在"),

	;

	private Integer code;

	private String message;

	ResultEnum(Integer code, String message) {
		this.code = code;
		this.message = message;
	}
}
